package com.csxy.six.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csxy.six.entity.GoodsReport;
import com.csxy.six.mapper.GoodsReportMapper;
import com.csxy.six.service.GoodsReportService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsReportServiceImpl extends ServiceImpl<GoodsReportMapper, GoodsReport> implements GoodsReportService {
    @Override
    public List<GoodsReport> getPendingReports() {
        return this.list(new QueryWrapper<GoodsReport>().eq("status", "待处理"));
    }
}
